package com.pansoft.openplanet.bean;

public class MyAirdropBean {
    private String address;
    private int airdropId;
    private String coinName;
    private String organization;
    private long time;
    private String picture;
    private double tokenNumber;

    private MyAirdropBean(Builder builder) {
        setAddress(builder.address);
        setAirdropId(builder.airdropId);
        setCoinName(builder.coinName);
        setOrganization(builder.organization);
        setTime(builder.time);
        setPicture(builder.picture);
        setTokenNumber(builder.tokenNumber);
    }

    public String getAddress() {
        return address;
    }

    public MyAirdropBean setAddress(String address) {
        this.address = address;
        return this;
    }

    public int getAirdropId() {
        return airdropId;
    }

    public MyAirdropBean setAirdropId(int airdropId) {
        this.airdropId = airdropId;
        return this;
    }

    public String getCoinName() {
        return coinName;
    }

    public MyAirdropBean setCoinName(String coinName) {
        this.coinName = coinName;
        return this;
    }

    public String getOrganization() {
        return organization;
    }

    public MyAirdropBean setOrganization(String organization) {
        this.organization = organization;
        return this;
    }

    public long getTime() {
        return time;
    }

    public MyAirdropBean setTime(long time) {
        this.time = time;
        return this;
    }

    public String getPicture() {
        return picture;
    }

    public MyAirdropBean setPicture(String picture) {
        this.picture = picture;
        return this;
    }

    public double getTokenNumber() {
        return tokenNumber;
    }

    public MyAirdropBean setTokenNumber(double tokenNumber) {
        this.tokenNumber = tokenNumber;
        return this;
    }

    public static final class Builder {
        private String address;
        private int airdropId;
        private String coinName;
        private String organization;
        private long time;
        private String picture;
        private double tokenNumber;

        public Builder() {
        }

        public Builder address(String val) {
            address = val;
            return this;
        }

        public Builder airdropId(int val) {
            airdropId = val;
            return this;
        }

        public Builder coinName(String val) {
            coinName = val;
            return this;
        }

        public Builder organization(String val) {
            organization = val;
            return this;
        }

        public Builder time(long val) {
            time = val;
            return this;
        }

        public Builder picture(String val) {
            picture = val;
            return this;
        }

        public Builder tokenNumber(double val) {
            tokenNumber = val;
            return this;
        }

        public MyAirdropBean build() {
            return new MyAirdropBean(this);
        }
    }
}
